#include "WinMain.h"
#include "GameApp.h"

GameApp gameApp;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
{
	if (!gameApp.GameInit(hInstance)) 
	{
		gameApp.GameEnd();
		return 0;
	}

	gameApp.GameRun();

	gameApp.GameEnd();

	return 1;
}